<template>
    <div><el-button size="mini" type="info" @click="open2">删除</el-button></div>
</template>

<script>
    export default {
        name: "del_dailishang",
        methods:{
            open2() {
                this.$confirm('确定删除代理商？', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'warning'
                }).then(() => {
                    this.$message({
                        type: 'success',
                        message: '删除成功!'
                    });
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '已取消删除'
                    });
                });
            }
        }
    }
</script>

<style scoped>

</style>
